﻿@model ConferenceRegister.Models.LoginModel

@{
    ViewBag.Title = "Login";
}

<h1>Log <Span>In</Span></h1>

<section id="loginForm">
@*<h2>Use a local account to log in.</h2>*@
@using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)
        <div class="editor-field">
                @Html.EditorFor(m => m.UserName)
            </div>
            <div class="editor-field">
                @Html.EditorFor(m => m.Password)
            </div>

            <div class="editor-label">
                @Html.EditorFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
            </div>
            <div>
                <input type="submit" value="Login" />  @*<span style="margin-left: 6px;">@Html.ActionLink("Register", "Register")</span>*@
            </div>
}
    </section>

@*<section class="social" id="socialLoginForm">
    <h2>Use another service to log in.</h2>
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>*@

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
